export const formComponentConfigRawMaterial = {
  fabricateType: () =>
    import('@/views/purchase-plan/components/formComp/fabricateType.vue'),
  prepareState: () =>
    import('@/views/purchase-plan/components/formComp/fabricateType.vue'),
};

export const formRenderConfigRawMaterial = {
  PlanNumber: {
    label: '计划编号',
    field: 'PlanNumber',
    componentName: 'input',
  },
  projectMark: {
    label: '项目号',
    field: 'projectMark',
    componentName: 'input',
  },
  materialCoding: {
    label: '物料编码',
    field: 'materialCoding',
    componentName: 'input',
  },
  categoryName: {
    label: '品类名称',
    field: 'categoryName',
    componentName: 'input',
  },
  supplier: {
    label: '供应商',
    field: 'supplier',
    componentName: 'input',
  },
  millType: {
    label: '机型',
    field: 'millType',
    componentName: 'input',
  },
  mark: {
    label: '牌号',
    field: 'mark',
    componentName: 'input',
  },
  finishedFatherType: {
    label: '成品父类型',
    field: 'finishedFatherType',
    componentName: 'input',
  },
  whetherPurchase: {
    label: '是否采购',
    field: 'whetherPurchase',
    componentName: 'select',
    componentProps: {
      options: [
        { label: '是', value: 1 },
        { label: '否', value: 2 },
      ],
    },
  },
  fabricateType: {
    label: '制造类型',
    field: 'fabricateType',
    componentName: 'fabricateType',
    componentProps: {},
  },
  demandSource: {
    label: '需求来源',
    field: 'demandSource',
    componentName: 'select',
    componentProps: {
      options: [
        { label: '采购', value: 1 },
        { label: '风险采购', value: 2 },
        { label: '外场采购', value: 3 },
      ],
    },
  },
  sortie: {
    label: '架次',
    field: 'sortie',
    componentName: 'input',
  },
  batch: {
    label: '批次',
    field: 'batch',
    componentName: 'input',
  },
  taskNumber: {
    label: '任务编号',
    field: 'taskNumber',
    componentName: 'input',
  },
  prepareState: {
    label: '制单状态',
    field: 'prepareState',
    componentName: 'prepareState',
    componentProps: {},
  },
};
